package com.qidian.mes.dv.service;

import com.qidian.mes.pojo.Machinery;
import com.qidian.mes.util.dot.PagerDTO;
import com.qidian.mes.util.pojo.QdResult;

import java.util.List;

/**
 * @Author 小可怎么都睡不够
 * @Description
 * @Time 2024-04-14 14:53
 */
public interface MachineryService {
    QdResult deleteByMachineryIds(Long[] machineryIds);
    QdResult deleteByMachineryId(Long machineryId);
    QdResult updateMachinery(Machinery machinery);
    QdResult queryByMachineryId(Long machineryId);
    QdResult saveMachinery(Machinery machinery);
    QdResult<PagerDTO<Machinery>> queryByPage(Machinery machinery, int page, int limit);
}
